package jetbrains.lb.refik;

import com.intellij.psi.*;

import static com.intellij.patterns.XmlPatterns.*;



/**
 * @author Leonid.Bushuev
 */
public class RefikReferenceContributor extends PsiReferenceContributor
{

    @Override
    public void registerReferenceProviders(PsiReferenceRegistrar registrar) {
        PsiReferenceProvider provider = new RefikReferenceProvider();
        //registrar.registerReferenceProvider(xmlAttributeValue().withLocalName("className"), provider);
        registrar.registerReferenceProvider(xmlTag().inFile(xmlFile()), provider);
    }


}
